package com.hitqz.robot.biz.business.dispatch;

import com.hitqz.robot.api.common.entity.MapArea;
import com.hitqz.robot.api.common.entity.RobotMapPos;

import java.util.List;

/**
 * @author xupkun
 * @date 2024/6/6
 */
public interface DispatchService {

    /**
     *
     * @param mapPos
     * @param mapAreas
     */
    void initPathAndPos(List<RobotMapPos> mapPos, List<MapArea> mapAreas);


    /***
     * 前往目标点
     * @param mapPos
     * return 最终要去的点位
     */
    boolean go2TargetPosition(RobotMapPos mapPos, boolean charge);





}
